package com.linghang.wusthelper.entity.secondary;

/**
 * @uthor Fegert
 * @Date 2020/3/2 11:13
 * 志愿者信息
 */
public class VolunteerInfo {
    //学号
    private String studentNum;
    //姓名
    private String name;
    //学院Id
    private Integer collegeId;
    //班级Id
    private Integer classId;
    //届别
    private Integer level;
    //联系电话
    private String phone;
    //0-志愿者  1-班级
    private Integer roll;
    //总工时
    private Double volunteerTime;
    //班级名称
    private String className;
    //学院名称
    private String collegeName;
    //构造方法
    public VolunteerInfo(String studentNum, String name, Integer collegeId, Integer classId, Integer level, String phone, Integer roll, Double volunteerTime, String className, String collegeName) {
        this.studentNum = studentNum;
        this.name = name;
        this.collegeId = collegeId;
        this.classId = classId;
        this.level = level;
        this.phone = phone;
        this.roll = roll;
        this.volunteerTime = volunteerTime;
        this.className = className;
        this.collegeName = collegeName;
    }
    public VolunteerInfo() {
    }
    //setter 和 getter
    public String getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(String studentNum) {
        this.studentNum = studentNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getRoll() {
        return roll;
    }

    public void setRoll(Integer roll) {
        this.roll = roll;
    }

    public Double getVolunteerTime() {
        return volunteerTime;
    }

    public void setVolunteerTime(Double volunteerTime) {
        this.volunteerTime = volunteerTime;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    //toString方法
    @Override
    public String toString() {
        return "VolunteerInfo{" +
                "studentNum='" + studentNum + '\'' +
                ", name='" + name + '\'' +
                ", collegeId=" + collegeId +
                ", classId=" + classId +
                ", level=" + level +
                ", phone='" + phone + '\'' +
                ", roll=" + roll +
                ", volunteerTime=" + volunteerTime +
                ", className='" + className + '\'' +
                ", collegeName='" + collegeName + '\'' +
                '}';
    }
}
